use axum::Router;

mod arm;
mod audio;
mod car;
mod index;
mod record;
mod sensor;

pub fn router() -> Router {
    Router::new()
        .nest("/", index::router())
        .nest("/car", car::router())
        .nest("/arm", arm::router())
        .nest("/record", record::router())
        .nest("/audio", audio::router())
        .nest("/sensor", sensor::router())
}
